
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="/common/taglibs.jsp"%>

<c:out value="${current_location}" escapeXml="false" />

<c:set var="buttons">
	<div align="right">
		<input type="button" class="button" onclick="location.href='<c:url value="editSysRoleMenu.do"/>'" value="<fmt:message key="button.add"/>" />
	</div>
</c:set>

<c:out value="${buttons}" escapeXml="false" />
  <table width="100%">
 		<tr class="tr_pagenumber">
            <td  align="right">
                <%@include file="/common/pageHeader.jsp"%>
            </td>
        </tr>
	</table>
<table cellspacing="1" class="tb_datalist" name="sysRoleMenuList" id="sysRoleMenuList">
	<THEAD>
		
		<tr class="tr_detail">

			<th>
				<fmt:message key="sysRoleMenuForm.roleMenuId" />
			</th>

			<th>
				<fmt:message key="sysRoleMenuForm.roleId" />
			</th>

			<th>
				<fmt:message key="sysRoleMenuForm.menuId" />
			</th>

			<th>
				<fmt:message key="button.operation" />
			</th>
		</tr>
	</THEAD>

	<c:if test="${not empty objectList}">
		<TBODY>
			<c:forEach var="object" items="${objectList}" varStatus="status">
				<c:choose>
					<c:when test="${status.count mod 2 == 0}">
						<c:set var="trClass" value="odd" />
					</c:when>
					<c:otherwise>
						<c:set var="trClass" value="even" />
					</c:otherwise>
				</c:choose>

				<tr class="${trClass}">

					<td>
						${object.roleMenuId}
					</td>

					<td>
						${object.roleId}
					</td>

					<td>
						${object.menuId}
					</td>

					<td>

						<html:link href="###" onclick="javascript:goPage('editSysRoleMenu.do?roleMenuId=${object.roleMenuId}')">
							<fmt:message key="button.edit" />
						</html:link>
						<html:link href="###"
							onclick="javascript:if (confirmDelete('sysRoleMenu')) {goPage('deleteSysRoleMenu.do?roleMenuId=${object.roleMenuId}')}">
							<fmt:message key="button.delete" />
						</html:link>

					</td>

				</tr>
			</c:forEach>
		</TBODY>
	</c:if>
  <table width="100%">
 		<tr class="tr_pagenumber">
            <td  align="right">
                <%@include file="/common/pageFooter.jsp"%>
            </td>
        </tr>
	</table>
</table>

<script type="text/javascript">
    highlightTableRows("sysRoleMenuList");
</script>
